home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat España 19
/
macformat_19.iso
/
Shareware
/
Developers
/
NDS Osax v1.0d2
/
Logout from NDS
next >
Wrap
Text File
|
1996-05-17
|
680b
|
24 lines
--5/16/96
--PCI powermacs tend to lock up on shutdown if logged in to NDS.
--There is a fix in 7.5.3 that you can custom install which works around this
--by adding a 2 minute delay to the shutdown process.
--This script, if saved as an applet and put into the shutdown folder,
--should be a much cleaner and faster workaround of the problem.
on run
try
tell application "Finder" to put away (every disk whose ¬
(local volume is false) and name contains "CAFE")
set quitnow to true
NDS_Logout
on error errMsg number errNum
beep (1)
display dialog ("Logout from NDS script failed!
" & errMsg) buttons {"Quit"} default button 1 with icon 0
end try
end run